package org.ioc.com.mybatis_test1.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.ioc.com.mybatis_test1.model.UserInfo;

import java.util.List;

@Mapper
public interface UserInfoXmlMapper {
    Integer insert(UserInfo userInfo);
    Integer delete(Integer id);
    Integer update(Integer id);

    //查询
    List<UserInfo> getUserAll();
    List<UserInfo> getUserAll2();
    Integer insert2(UserInfo userInfo);

    List<UserInfo> getUserAll3(String sort);
}
